package com.wx.service;

import com.wx.pojo.WxCollect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ICollectService {

    public List<WxCollect> listCollect();

    public List<WxCollect> listCollect(WxCollect collect, Integer page,Integer pageSize);

    WxCollect getModelByNumber(String number);

    public List<WxCollect> listModelByStatus(Integer status);

    public Integer updateModelAmount(String number,
                                     Integer amount);

    Integer updateModelDepot(String number,
                             Integer depot_id,
                             Integer logistics);

    public boolean joinCollect(String item, String number, Integer user_id,Integer depot_id,Integer logistics);

}
